<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
	<th:block th:include="include :: header('工资条打印')" />
	<style type="text/css">
	body {
			overflow-x: auto;
		}
		table {
			font-size: 12px;
			font-weight:500;
			font-family: 线体;
			margin-left: 80px;
	    	border-collapse: collapse;
		}
	    table, tr, td{
		    text-align: center;
		    width: 1100px;
		    height: 30px;
		}
		.items td{ height:30px; border: 1px solid black;}
		
		@media print{
		   body {
		       height: auto !important;
		   }
		}
	</style>
</head>
<body class="white-bg">
    <table style="margin-top: 0px;">
		<!-- 打印网页时通过hidden-print隐藏元素 -->
	    <div class="text-right hidden-print">
	        <button class="btn btn-primary" onclick="printPage()"><i class="fa fa-print"></i> 打印</button>
	    </div>
	    <tr>
			<td style="width: 5%" ></td>
			<td style="width: 5%" ></td>
			<td style="width: 5%" ></td>
			<td style="width: 5%" ></td>
			<td style="width: 5%" ></td>
			<td style="width: 5%" ></td>
			<td style="width: 5%" ></td>
			<td style="width: 5%" ></td>
			<td style="width: 10%"></td>
			<td style="width: 10%"></td>
			<td style="width: 5%" ></td>
			<td style="width: 5%" ></td>
			<td style="width: 5%" ></td>
			<td style="width: 5%" ></td>
		</tr>
		<tr style="height: 60px;">
			<td colspan="2" style="text-align: left;"><img style="height: 30px" src="/ruoyi.png"></td>
			<td colspan="12" style="font-size: 25px;font-family: 线体;font-weight:500;">广东建筑艺术设计院有限公司中南分公司工资表【<span th:text="${years}"></span>】</td>
		</tr>
	</table>
	<table class="items">
		<tr>
			<td style="width: 5%" rowspan="2"><b>姓  名</b></td>
			<td style="width: 5%" rowspan="2"><b>基本工资</b></td>
			<td style="width: 5%" rowspan="2"><b>岗位津贴</b></td>
			<td style="width: 5%" rowspan="2"><b>午餐补助</b></td>
			<td style="width: 5%" rowspan="2"><b>通讯补助</b></td>
			<td style="width: 5%" rowspan="2"><b>交通补助</b></td>
			<td style="width: 5%" rowspan="2"><b>其他</b></td>
			<td style="width: 5%" rowspan="2"><b>应发工资</b></td>
			<td style="width: 10%" colspan="2"><b>社保</b></td>
			<td style="width: 10%" colspan="2"><b>公积金</b></td>
			<td style="width: 5%" rowspan="2"><b>个人所得稅</b></td>
			<td style="width: 5%" rowspan="2"><b>合   计</b></td>
			<td style="width: 5%" rowspan="2"><b>实发工资</b></td>
			<td style="width: 5%" rowspan="2"><b>备  注</b></td>
		</tr>
		<tr>
			<td style="width: 5%"><b>个人承担</b></td>
			<td style="width: 5%"><b>公司承担</b></td>
			<td style="width: 5%"><b>个人承担</b></td>
			<td style="width: 5%"><b>公司承担</b></td>
		</tr>
		<tr th:each="lis,status:${lis}">
			<td style="width: 5%;" th:text="${lis.name}">&nbsp;</td>
			<td style="width: 5%;" th:text="${lis.jbgz}">&nbsp;</td>
			<td style="width: 5%;" th:text="${lis.gwjt}">&nbsp;</td>
			<td style="width: 5%;" th:text="${lis.wcbt}">&nbsp;</td>
			<td style="width: 5%;" th:text="${lis.txbt}">&nbsp;</td>
			<td style="width: 5%;" th:text="${lis.jtbt}">&nbsp;</td>
			<td style="width: 5%;" th:text="${lis.qt}">&nbsp;</td>
			<td style="width: 5%;" th:text="${lis.yfgz}">&nbsp;</td>
			<td style="width: 5%;" th:text="${lis.sbgrcd}">&nbsp;</td>
			<td style="width: 5%;" th:text="${lis.sbgscd}">&nbsp;</td>
			<td style="width: 5%;" th:text="${lis.gjjgrcd}">&nbsp;</td>
			<td style="width: 5%;" th:text="${lis.gjjgscd}">&nbsp;</td>
			<td style="width: 5%;" th:text="${lis.grsds}">&nbsp;</td>
			<td style="width: 5%;" th:text="${lis.hj}">&nbsp;</td>
			<td style="width: 5%;" th:text="${lis.sfgz}">&nbsp;</td>
			<td style="width: 5%;" th:text="${lis.memo}">&nbsp;</td>
		</tr>
	</table>
	<table style="margin-top: 15px;">
		<tr>
			<td colspan="2" style="width: 22%;text-align: left;"><b>发放时间：<span th:text="${years}"></span></b></td>
			<td colspan="2" style="width: 14%;text-align: left;"><b>财务审核：</b><span th:text="${cwsh}"></span></td>
			<td style="width: 10%">&nbsp;</td>
			<td style="width: 10%;text-align: left;"><b>领导审批：</b><span th:text="${zjlsb}"></span></td>
			<td style="width: 10%">&nbsp;</td>
		</tr>
	</table>
    <th:block th:include="include :: footer" />
    <script type="text/javascript">
        function printPage() {
            window.print();
        }
    </script>
</body>
</html>